// Copyright DustedPixels.com 2008. All rights reserved.

package kroff.opt;

/**
 * @author micapolos@gmail.com (Michal Pociecha-Los)
 */
public final class TopLevel implements Runnable {
  private final ThousandToOneExecutor thousandToOne;

  public TopLevel(Runnable external) {
    this.thousandToOne = new ThousandToOneExecutor(new Incrementor(new Counter()), external);
  }
  
  public void run() {
    this.thousandToOne.run();
  }
}
